<?php
declare(strict_types=1);

namespace App\Common\Event;

use Hyperf\Framework\Bootstrap\ServerStartCallback;
use Zms\Unit\Console;

class HyperfEvent extends ServerStartCallback
{
    /**
     * 进程启动时执行事件
     * @return void
     */
    public function onBeforeStart(): void
    {
        Console::Info("应用启动已完成");
    }
}